import { Behavior } from '../behavior.js'; // 导入 Behavior 类

class MoveAlongPathBehavior extends Behavior {
    constructor(priority, path) {
        super(priority);
        this.path = path; // 移动路径
    }

    execute() {
        // 沿路径运动的逻辑
        console.log("Moving along path:", this.path);
    }
}

export default MoveAlongPathBehavior; 